package com.antexpress.pojo;

import java.util.Date;

public class Employee  implements java.io.Serializable, Cloneable {


     private String id;
     private Title title;
     private String username;
     private String password;
     private String name;
     private String gender;
     private String mobile;
     private String email;
     private Date birth;
     private double salary;
     private int status;
     private Date createtime;
     private Date updatetime;

    public Employee() {
    }

    public Employee(String id, Title title, String username, String password, String name, String gender, String mobile, String email, Date birth, double salary, int status, Date createtime, Date updatetime) {
        this.id = id;
        this.title = title;
        this.username = username;
        this.password = password;
        this.name = name;
        this.gender = gender;
        this.mobile = mobile;
        this.email = email;
        this.birth = birth;
        this.salary = salary;
        this.status = status;
        this.createtime = createtime;
        this.updatetime = updatetime;
    }
   
    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    public Title getTitle() {
        return this.title;
    }
    
    public void setTitle(Title title) {
        this.title = title;
    }
    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    public String getGender() {
        return this.gender;
    }
    
    public void setGender(String gender) {
        this.gender = gender;
    }
    public String getMobile() {
        return this.mobile;
    }
    
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }
    public Date getBirth() {
        return this.birth;
    }
    
    public void setBirth(Date birth) {
        this.birth = birth;
    }
    public double getSalary() {
        return this.salary;
    }
    
    public void setSalary(double salary) {
        this.salary = salary;
    }
    public int getStatus() {
        return this.status;
    }
    
    public void setStatus(int status) {
        this.status = status;
    }
    public Date getCreatetime() {
        return this.createtime;
    }
    
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
    public Date getUpdatetime() {
        return this.updatetime;
    }
    
    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public Object clone() {
        Employee emp = null; 
        try{ 
            emp = (Employee)super.clone(); 
        }catch(CloneNotSupportedException e) { 
            e.printStackTrace(); 
        } 
        return emp; 
    }
    
    
}


